package com.webproject.service.impl.sysManager;

import com.webproject.core.Page;
import com.webproject.dao.sysManager.LogManagerDao;
import com.webproject.entity.sysManager.SysLog;
import com.webproject.service.sysManager.LogManagerService;

public class LogManagerServiceImpl implements LogManagerService {

	private LogManagerDao logManagerDao;

	public LogManagerDao getLogManagerDao() {
		return logManagerDao;
	}

	public void setLogManagerDao(LogManagerDao logManagerDao) {
		this.logManagerDao = logManagerDao;
	}

	@Override
	public void querySysLog(Page page) {
		// TODO Auto-generated method stub
		page.setRows(logManagerDao.querySysLog(page));
		page.setRecords(logManagerDao.querySysLogCount(page));
	}

	@Override
	public void saveSysLog(SysLog sysLog) {
		// TODO Auto-generated method stub
		logManagerDao.saveSysLog(sysLog);
	}
}
